package cn.tedu.mall1.order.service.impl;

import cn.tedu.mall1.order.mapper.OrderDetailsMapper;
import cn.tedu.mall1.order.pojo.vo.OrderDetailsVO;
import cn.tedu.mall1.order.service.OrderDetailsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class OrderDetailsServiceImpl implements OrderDetailsService {
    @Autowired
    private OrderDetailsMapper orderDetailsMapper;
    @Override
    public OrderDetailsVO select(Integer orderNumber) {
        OrderDetailsVO orderDetailsVO = orderDetailsMapper.select(orderNumber);
        return orderDetailsVO;
    }
}
